home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C++ / Applications / PICSee Dust 1.01 / Primary Source / PICSViewer.h < prev    next >
Text File  |  1995-11-15  |  1KB  |  50 lines

  1.  
  2. enum {
  3.     kAlwaysShowOpenProgress = -1,
  4.     kNeverShowOpenProgress = 0
  5. };
  6.  
  7. enum {
  8.     kUsePictureOnlyMethod,        // Animate using PICT resources only
  9.     kUsePictureGWorldMethod,    //   "     with GWorlds, using PICS' depth
  10.     kUseMonitorGWorldMethod        //   "     with GWorlds, using monitor's depth
  11. };
  12.  
  13.  
  14. void         InitPICSViewer(
  15.                 Boolean changeCreator,
  16.                 short animationMethod,
  17.                 RGBColor *marqueeColor);
  18. void        SetPICSViewerAnimationMethod(short animationMethod);
  19. void        SetPICSViewerMarqueeColor(RGBColor *marqueeColor);
  20.  
  21. /*
  22.     Minimum file size to show open progress.
  23.     -1 = always show
  24.      0 = never show
  25.      n = If file is n Kbytes or bigger, show progress
  26. */
  27. void        SetPICSViewerOpenProgress(short minFileSizeToShow);
  28. void         CleanupPICSViewer();
  29. DialogPtr    GetCurrentPICSViewer();
  30. Boolean        IsPICSViewer(DialogPtr viewer);
  31.  
  32. void        NewPICSViewer(FSSpec *picsFile);
  33. Boolean        ClosePICSViewer(DialogPtr viewer);
  34. Boolean        SavePICSViewer(DialogPtr viewer);
  35.  
  36. void        ClickPICSViewer(DialogPtr viewer, short itemClicked);
  37. void        KeyDownPICSViewer(DialogPtr viewer, char keyPressed);
  38. void        UpdatePICSViewer(DialogPtr viewer);
  39. void        ActivatePICSViewer(DialogPtr viewer, Boolean activate);
  40.  
  41. void        IdlePICSViewer(DialogPtr viewer);
  42.  
  43. Boolean        IsPICSViewerModified(DialogPtr viewer);
  44.  
  45. void        SelectEntirePICSViewerFrame(DialogPtr viewer, Boolean select);
  46. void        CopyPICSViewerFrame(DialogPtr viewer);
  47.  
  48. // Specific stuff to the app.
  49. void        CompositePICSViewer(DialogPtr viewer);
  50. void        SplitPICSViewer(DialogPtr viewer);